STEP 11: Finally, let's hide the sprites once they reach the recycling bin to make it look like we're putting them in!

  • Click on . Drag out Hide Sprite. Drag it into your loop. Make sure it's indented 4 spaces!

Look at your loop: Each time it runs, it creates a sprite, waits, glides to the recycling bin, and then disappears.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)